home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3012 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  927 b 

  1. Path: oxy.rust.net!usenet
  2. From: ebennett@rust.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: File Manager's Associations
  5. Date: Sun, 21 Jan 1996 19:49:36 GMT
  6. Organization: Rust Net - High Speed Internet in Detroit  810-642-2276
  7. Message-ID: <4dtqpu$sl2@oxy.rust.net>
  8. References: <geniec.2.2.3100FDE3@postbox.acs.ohio-state.edu>
  9. NNTP-Posting-Host: liv-11.rust.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. geniec.2@postbox.acs.ohio-state.edu (Joseph Alexander Geniec) wrote:
  13.  
  14. >I want to execute an application from within another
  15. >application using the WinExec function. (Specific to
  16. >MS Windows programming, I know) The problem is
  17. >I want to, for example, have the user type in the
  18. >filename of a bitmap file, and it's associated application
  19. >should execute. (ie paintbrush) The file associations
  20. >are made from the file manager of course. How do I
  21. >do this?
  22.  
  23.  
  24. I believe the Windows API ShellEXecute() is what you want to use.
  25.  
  26. Earl
  27.  
  28.  
  29.  
  30.